// RadioButton.h
//
// A button which stays pressed or unpressed after a click,
// and only one instance of the class can be pressed at a time.
//
// Nick Kitten
// 2009

#pragma once

#include "Button.h"

class RadioButton : public Button
{
public:
	RadioButton( char * spriteFile, int ID, int x, int y, void (*leftCallback)(), 
		int width = -1, int height = -1 );
	~RadioButton();

	// override base class display()
	void display();
	//
	bool isPressed() const;

protected:
	// the button which is currently pressed
	static int pressedID;
};